package cn.varin.springai_ollama_chatinterfaceapi.common;

/**
 * <p>
 * 编码格式常量类
 * </p>
/
 public class SystemConstant {

 /**
 * Knife4j接口文档接口分组和分组路径
 */
public class SystemConstant {
public static class Knife4j {

    /**
     * 接口分组
     */
    public static final String SECURITY = "权限管理";
    public static final String SYSTEM = "系统管理";

    /**
     * 接口分组路径
     */
    public static final String SECURITY_PATH = "cn.varin.springai_ollama_chatinterfaceapi.controller";
    public static final String SYSTEM_PATH = "cn.varin.springai_ollama_chatinterfaceapi.controller";
}

/**
 * 编码常量
 */
public static class Charset {

    /**
     * 编码格式设置
     */
    public static final String JSON_TYPE_UTF8_CHARSET = "application/json;charset=UTF-8";

}

    /**
     * 允许匿名访问的静态资源路径列表
     */
    public static final String[] STATIC_WITHE_PATH_LIST = new String[]{
            "/*",
            "/webjars/**",
            "/js/**",
            "/css/**",
            "/img/**",
            "/fonts/**",
            "/index.html",
            "/favicon.ico",
            "/doc.html",
            "/swagger-ui.html",
            "/webjars/**",
            "/swagger-resources/**",
            "/v3/**"
    };

    /**
     * 允许匿名访问的静态资源存放位置列表
     */
    public static final String[] STATIC_WITHE_LOCATION_LIST = new String[]{
            "classpath:/static/",
            "classpath:/public/",
            "classpath:/META-INF/resources/"
    };

}



